import { copy, longpress, debounce, throttle, clickOut, draggable, inputNumber, waterMarker } from './directives'

const directives = {
    copy,
    longpress,
    debounce,
    throttle,
    clickOut,
    draggable,
    inputNumber,
    waterMarker
}

export default {
    install(Vue) {
        Object.keys(directives).forEach(key => {
            Vue.directive(key, directives[key])
        })
    }
}